package arrays;
import java.util.*;

class A{int i;} 

public class FirstArray {

    public static void   open(int i) {
    	i++;
    	System.out.println("i="+i);
    }
    
	
	
	public static void main(String[] args) {
		int[] ar = new int[]{1,2,3};
		String[] aaa = new String[5];
		
		int i =5;
		open(i);
		System.out.println("i="+i);
		
		
		Integer[] ar2 = {new Integer(4), new Integer(5),6};
		Integer[] ar3 = UtilArray.makeSortedArray(5);
        
		ar2 = ar3;		
        
		System.out.println(Arrays.toString(ar));
		UtilArray.printArr(ar2);
        System.out.println(Arrays.toString(ar3));
        
        System.out.println(Arrays.toString(UtilArray.makeRandomArray(8)));
        System.out.println(Arrays.toString(UtilArray.makePrimitiveArray(9)));
        
        A[] ar4 = new A[] {new A(),new A()};
              
        UtilArray.printArr(ar4);
	
	
	   System.out.println("finish");
	}

}
